<template>
  <div class="container" style="text-align: left">
    <h3>咨询医生</h3>
    <figure class="highlight">
      <h5>国家首批互联网医院执照</h5>
      <h5 style="color: lightslategray">三甲在职医生 专家审核医生资质</h5>
      <el-alert
        title="只有会员才可以使用问诊，如果您不是会员请先加入会员"
        type="warning">
      </el-alert>
      <h6>&nbsp;</h6></figure>
        <a class="btn btn-default" role="button">
          <div class="media" @click="Getto" >
            <div class="media-left media-middle">
              <img class="media-object" src="../assets/ic_inquisition_word.png">
            </div>
            <div class="media-body">
              <h6>&nbsp;</h6>
              <h4 class="media-heading text-left">图文问诊</h4>
              <h4 class="media-heading text-left"><small> 快速匹配医生 平均1小时回复</small></h4>
            </div>
          </div>
        </a>
  </div>
</template>
<script>
  export default {
    name: 'First',
    methods:{
      Getto() {
        var test = window.location.href;
        var attr= test.split("?");
        var att=attr[1].split("&");
        var at=att[0].split("=");
        var a =at[1].split("#");
        localStorage.setItem('Opid', a[0]);
        this.$router.push('/Sec');
      }
    }
  }
</script>

<style scoped>
  img{
    margin: 10px;
    height: 80px;
    width: 80px;
  }
</style>
